module.exports = {
    devServer: {
        proxy: {
            '/index.php': {
                target: 'http://api.xxahapp.com/',
                changeOrigin: true,
                secure: false,
                // ws: true,
                pathRequiresRewrite: {
                  '^/index.php': '/index.php'
                }
            }
        }
    }
}